<template>
  <div ref="myDiv" class="storecount-echart" />
</template>

<script>
var echarts = require('echarts');
export default {
  name: 'StoreCount',
  data() {
    return {

    };
  },
  mounted() {
    const myChart = echarts.init(this.$refs.myDiv);
    var option = {
      xAxis: {
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
      },
      yAxis: {
        type: 'value',
      },
      series: [{
        data: [80, 90, 50, 80, 70, 40, 90],
        type: 'bar',
      }],
    };
    myChart.setOption(option);
  },
};
</script>

<style lang="scss" scoped>
.storecount-echart{
    width: 600px;
    height:400px;
}
</style>
